package com.springdata.service;

import com.springdata.pojo.CustInfo;

import java.util.List;

/**
 * @author xwli
 * @date: 2021/10/5 15:40
 * @desc
 * @since JDK 1.8
 */
public interface CustInfoService {

    public CustInfo getCustInfoByNo(Long custNo);

    public CustInfo getCustInfoByName(String custName);

    public CustInfo getCustInfoByAge(String custAge);

    public CustInfo getCustInfoByNameAndAge(String custName,String custAge);

    public void updateCustInfo(Long custNo,String custName);

    public CustInfo findOneCustInfoByCustNo(Long custNo);

    public CustInfo findOneCustInfoByCustNoAndCustName(Long custNo,String custName);

    public List<CustInfo> findAllCustInfoLikeCustName(String custName);

}
